<template>
    <Head>
        <Title>PrimeVue - Dynamic Imports</Title>
        <Meta name="description" content="Dynamic imports enable the loading of multiple items as needed, streamlining the import process." />
    </Head>
    <div class="doc">
        <div class="doc-main">
            <div class="doc-intro">
                <div class="flex flex-col sm:flex-row sm:items-start sm:justify-between gap-4 mb-4">
                    <div class="flex-1">
                        <h1>Dynamic Imports</h1>
                        <p>Dynamic imports enable the loading of multiple items as needed, streamlining the import process.</p>
                    </div>
                    <DocCopyMarkdown docType="page" class="flex-shrink-0" />
                </div>
            </div>
            <DocSections :docs="docs" />
        </div>
        <DocSectionNav :docs="docs" />
    </div>
</template>

<script>
import DocCopyMarkdown from '@/components/doc/DocCopyMarkdown.vue';
import OverviewDoc from '@/doc/guides/dynamicimports/OverviewDoc.vue';

export default {
    components: { DocCopyMarkdown },
    data() {
        return {
            docs: [
                {
                    id: 'overview',
                    label: 'Overview',
                    component: OverviewDoc
                }
            ]
        };
    }
};
</script>
